import request from "@/utils/request";
// ai导入信息页
export function aiImportCourse(data) {
  return request({
    url: "/ccAI/course/aiImportCourse",
    method: "post",
    headers: {
      "Content-Type":"multipart/form-data"
    },
    data
  });
}
// 根据课程Id获取任务目录列表
export function taskIndexList(courseId) {
  return request({
    url: `/school/manager/courseIndex/taskIndexList/${courseId}`,
    method: "get",
  });
}

// 导入列表
export function aiImportCourseLogList(courseId,query) {
  return request({
    url: `/school/manager/courseIndex/aiImportCourseLogList/${courseId}`,
    method: "get",
    params: query,
  });
}

// 导入列表
export function aiImportCourseProgress() {
  return request({
    url: `/ccAI/course/aiImportCourseProgress`,
    method: "get",
  });
}
